package com.ssm.custom.dao.model.suggestion;

import com.jee.ssm.common.core.base.BaseModel;
import com.ssm.icc.dao.model.estate.Estate;

import java.util.Date;

/**
 * 
 * 表名 d_suggestion
 * @author GaoXiang
 * @version 1.0
 * Create time 2017/05/19
 */
public class Suggestion extends BaseModel {
    /**
     * 
     * 表字段 : d_suggestion.id
     * Create time 2017/05/19
     */
    private String id;

    /**
     * 
     * 表字段 : d_suggestion.info_id
     * Create time 2017/05/19
     */
    private String infoId;

    /**
     * 
     * 表字段 : d_suggestion.create_time
     * Create time 2017/05/19
     */
    private Date createTime;

    /**
     * 
     * 表字段 : d_suggestion.content
     * Create time 2017/05/19
     */
    private String content;

    //private User user;


    private Estate estate;

    private String  userId;

    /**
     * 构造方法
     */
    public Suggestion(String id, String infoId, Date createTime, String content) {
        this.id = id;
        this.infoId = infoId;
        this.createTime = createTime;
        this.content = content;
    }

    /**
     * 构造方法
     */
    public Suggestion() {
        super();
    }

    /**
     * 
     * @return id 
     */
    public String getId() {
        return id;
    }

    /**
     * 
     * @param id 
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 
     * @return info_id 
     */
    public String getInfoId() {
        return infoId;
    }

    /**
     * 
     * @param infoId 
     */
    public void setInfoId(String infoId) {
        this.infoId = infoId;
    }

    /**
     * 
     * @return create_time 
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 
     * @param createTime 
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 
     * @return content 
     */
    public String getContent() {
        return content;
    }

    /**
     * 
     * @param content 
     */
    public void setContent(String content) {
        this.content = content;
    }

    public Estate getEstate() {
        return estate;
    }

    public void setEstate(Estate estate) {
        this.estate = estate;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

   /* public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }*/
}